#include <bits/stdc++.h>
using namespace std;
int countRoom(vector<pair<int, int>> &a);
